<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增学生信息</title>
</head>
<body>
<h1>录入学生信息</h1>
    <form action="/student/add" method="post">
        学号：<input type="text" name="stuNo"><br>
        班级：<select name="classId" style="width: 200px;">
        <option   th:each="subject:${session.classzs}" th:value="${subject.id}" th:text="${subject.name}"></option>
    </select><br>
        姓名：<input type="text" name="stuName"><br>
        性别：    <select name="stuSex">
                    <option value="student">男</option>
                    <option value="teacher">女</option>
                </select><br>
        学院：<input type="text" name="stuCollege"><br>
        专业：<input type="text" name="stuMajor"><br>
        <br>
        <input type="submit" value="提交">&nbsp;&nbsp;
        <a style="border: black 1px solid;" href="/student/list">返回</a>
    </form>
</body>
</html>